<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>轻松记</title>
<link href="<?php echo base_url()?>css/bootstrap.css" rel="stylesheet" />
<!--<link href="css/bootstrap-responsive.min.css" rel="stylesheet" />-->
<link href="<?php echo base_url()?>css/style.css" rel="stylesheet" />
<script src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://lib.sinaapp.com/js/jquery-ui/1.8.2/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://lib.sinaapp.com/js/bootstrap/2.0.3/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo base_url()?>js/fun.js" type="text/javascript"></script>
<script>
	
	$(function(){
  		bdc.command.changepsHandler("<?php echo site_url('user/change_password'); ?>")
	});
	
</script>
<style>
			a{background-position: }
</style>
</head>

<body>
<div class="container" style="position: relative">
	<div class="navbar">
		<div class="navbar-inner <?php echo $type == 'lib' ? 'navbar-fixed-top' : ''?>">
			<div class="container">
				<!--<a class="brand" href="#">轻松记</a>-->
				<ul class="nav">
					<li id="nav-logo" <?php echo $type == 'record' ? 'class="active"' : ''?>>
					<?php echo anchor('record', '<i class="icon-white icon-edit"></i><span></span>')?>
					</li>
					<li <?php echo $type == 'memory' ? 'class="active"' : ''?>>
					<?php echo anchor('memory', '<i class="icon-time"></i> 复习')?>
					</li>
					<li <?php echo $type == 'lib' ? 'class="active"' : ''?>>
					<?php echo anchor('lib', '<i class="icon-book"></i> 记忆库')?>
					
					</li>
				</ul>
				<ul class="nav pull-right">
					<li class="divider-vertical"></li>
					<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown"> 
					<i class="icon-white icon-user"></i>欢迎您， 
						<?php echo $this->user_utils->get_session_attribute(Variable::SESSION_USER_NAME);?> 
						<b class="caret"></b>
					</a>
						<ul class="dropdown-menu">
							<li>
							<a href="#" id="changeps">修改密码</a>
							
							</li>
							<li>
							<?php echo anchor('user/logout', '退出');?></li>
							
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="modal hide fade" id="passwordModal" style="width:500px;">

	<div class="modal-header">

		<a class="close" data-dismiss="modal">×</a>

		<h3>密码修改,请输入新密码。</h3>

	</div>

	<div class="modal-body">
		 
			<ul>
				<li><label>密码：</label><input class="span2" type="password" name="password" id="password-editinput" value="" placeholder="" style="width: 200px;" ></li>
				<li><label>新密码：</label><input class="span2" type="password" name="new_password" id="new-password-editinput" value="" placeholder="" style="width: 200px;" ></li>
				<li><label>确认密码：</label><input class="span2" type="password" name="" id="new-password2-editinput" value="" placeholder="" style="width: 200px;" ></li>
			</ul>

	</div>

	<div class="modal-footer">

		<a href="#" class="btn" data-dismiss="modal">关闭</a>

		<a href="#" class="btn btn-primary" id="passwordsave">确定</a>


	</div>

</div>
